<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%@page import="java.text.SimpleDateFormat"%>
<%@page import="java.util.Calendar"%><html >
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@page import="wt.httpgw.URLFactory"%>
<%
String baseUrl = new URLFactory().getBaseHREF();
Calendar cal = Calendar.getInstance(); 
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
String cdate = sdf.format(cal.getTime()); 
%>
<head>
<title>创建文档</title>
</head>

<<<<<<< .mine
<center>
<div style="margin:10px 0;"></div>
	<div class="easyui-panel" title="技术费用审批单" style="width:680px">
		<div style="padding:10px 0 10px 60px">
<form method="post" enctype="multipart/form-data" name="tenderForm" id="tenderForm">
  <table>
    <tr>
      <td>单号</td>
      <td>
        <input   type="text" />
      </td>
      <td>时间</td>
      <td>
        <input   type="text" class="easyui-datebox"  value="<%=cdate %>" data-options="formatter:myformatter,parser:myparser" />
      </td>
    </tr>
    
       <tr>
      <td>申请人</td>
      <td colspan="3">
        <input   type="text" />
      </td>
    </tr> 
    
     <tr>
    	<td colspan="4">
    			<table id="detailTable1" class="easyui-datagrid" title="费用明细" style="width:540px;"
						data-options="rownumbers:true,singleSelect:true,toolbar:'#detailButton'">
						<thead>
							<tr>
							<th data-options="field:'type',width:50,align:'center'">序号</th>
							<th data-options="field:'amount',width:80,align:'center'">项目名称</th>
							<th data-options="field:'to',width:60,align:'center'">类别</th>
							<th data-options="field:'time',width:60,align:'center'">金额</th>
							<th data-options="field:'desc',width:80,align:'center'">编写人</th>
							<th data-options="field:'desc1',width:100,align:'center'">支付人确认</th>
							<th data-options="field:'desc1',width:50,align:'center'">备注</th>
							</tr>
						</thead>
					</table>
    	</td>
    	<div id="detailButton" style="padding:5px;height:auto">
		<div style="margin-bottom:5px">
		<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" onclick="removeDetail()">增加</a>
			<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" onclick="removeDetail()">删除</a>
		</div>
		
		</div>
    	</td>
    </tr>
	
	<tr>
	<td>金额(大写)</td>
	<td><input   type="text" /></td>
	<td>金额(小写）</td>
	<td><input   type="text" /></td>
	</tr>
	<tr>
	<td>技术部</td>
	<td><input   type="text" /></td>
	<td>总经理</td>
	<td><input   type="text" /></td>
	</tr>
	<tr>
	<td>财务</td>
	<td colspan="3"><input   type="text"  size="70"/></td>
	</tr>
  </table>
</form>
</div>
</div>
</center>

=======
<!-- value="<%=cdate %>"  class="easyui-datebox" data-options="formatter:myformatter,parser:myparser" -->
>>>>>>> .r153

<%-- 
<center>
<div style="margin:10px 0;"></div>
<<<<<<< .mine
	<div class="easyui-panel" title="标题" style="width:680px">
=======
	<div class="easyui-panel" title="任务单" style="width:680px">
>>>>>>> .r153
		<div style="padding:10px 0 10px 60px">
<form method="post" enctype="multipart/form-data" name="tenderForm" id="tenderForm">
  <table>
<<<<<<< .mine
    <tr>
      <td>标题</td>
      <td>
        <input   type="text" />
      </td>
      <td>日期</td>
      <td>
        <input   type="text" class="easyui-datebox"  value="<%=cdate %>" data-options="formatter:myformatter,parser:myparser" />
      </td>
    </tr>
=======
   
		<tr>
			<td>任务单号</td>
			<td><input type="text"></input></td>
			<td>任务来源</td>
			<td><input type="text"></input></td>
		</tr>
		
		<tr>
			<td>发起人</td>
			<td><input type="text"></input></td>
			<td>时间</td>
			<td><input type="text" value="<%=cdate %>"  class="easyui-datebox" data-options="formatter:myformatter,parser:myparser"></input></td>
		</tr>
		
		
		<tr>
			<td>任务接收人</td>
			<td colspan="3"><input type="text"></input></td>
			
		</tr>
		
>>>>>>> .r153
    
    	 <tr>
      <td >任务内容</td>
      <td colspan="3">
        <textarea name="desc1" id="desc1" cols="45" rows="5"></textarea>
      </td>
    </tr>
    
     <tr>
      <td >任务反馈</td>
      <td colspan="3">
        <textarea name="desc1" id="desc1" cols="45" rows="5"></textarea>
      </td>
    </tr>
      <tr>
      <td align="center" colspan="4"><label>
        <a href="javascript:void(0)" class="easyui-linkbutton" onclick="submitForm1()">提交</a>
	    	<a href="javascript:void(0)" class="easyui-linkbutton" onclick="clearForm1()">清除</a>
      </label></td>
    </tr>
  </table>
</form>
</div>
</div>
</center>
 --%>




<script type="text/javascript">

/*添加附件功能*/
function addAppendix1(htmlId){
	//alert("appendixFileId :"+htmlId);
	var $div = $("#"+htmlId);
	var len = $div.children("input[type='file']") + 1;
	//alert("len :"+len);
	$div.append("<div><input type='file' size=60 name='appendixFile_"+len+"' /><input type='button' value='-' onclick='removeAppendix1(this)'></input></div>");
}
function removeAppendix1(obj){
	var temp = $(obj);
	temp.parent("div").remove(); 
}
</script> 




</body>

</html>


